package com.songlanyun.modules.singlegoods.model;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 库存不足记录表
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-03-18 15:09:05
 */
@Data
public class UnderStockRecordVO implements ValueObject {

    /**
     * 商家id
     */
    private Long shopId;
    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 库存不足的单品id
     */
    private Long singleGoodsId;

    /**
     * 单品标题
     */
    private String title;

    /**
     * 单品图片
     */
    private String coverImage;

    /**
     * 单品编号
     */
    private String code;

    /**
     * sku
     */
    private String skuSetName;
    /**
     * 购买数量
     */
    private Integer buyNum;
    /**
     * 单品剩余数量
     */
    private Integer singleGoodsNum;

    private Date updateTime;

}
